package com.example.orderprovider.constants;

/**
 * @author Kong
 * @date 2021-9-15 15:43
 */
public enum OrderStatus {
    INITIAL(1,"初始"),
    COMMITTED(2,"正常");
    private Integer value;
    private String message;

    OrderStatus(Integer value, String message) {
        this.value = value;
        this.message = message;
    }

    public Integer getValue() {
        return value;
    }

    public String getMessage() {
        return message;
    }
}
